package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品分类信息对象 my_commodity_classes
 * 
 * @author ruoyi
 * @date 2024-01-13
 */
public class MyCommodityClasses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String commodityName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createMan;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String commodityDes;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCommodityName(String commodityName) 
    {
        this.commodityName = commodityName;
    }

    public String getCommodityName() 
    {
        return commodityName;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setCreateMan(String createMan) 
    {
        this.createMan = createMan;
    }

    public String getCreateMan() 
    {
        return createMan;
    }
    public void setCommodityDes(String commodityDes) 
    {
        this.commodityDes = commodityDes;
    }

    public String getCommodityDes() 
    {
        return commodityDes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commodityName", getCommodityName())
            .append("createDate", getCreateDate())
            .append("createMan", getCreateMan())
            .append("commodityDes", getCommodityDes())
            .toString();
    }
}
